package cn.haohaowo.springmv.controller;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class TestAjax {

	@RequestMapping("ajax/test.do")
	@ResponseBody
	public Object ajax() {
		List<String> list = new ArrayList<String>();
		list.add("洗衣机");
		return list;
	}
}
